package com.slw.caiji.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.slw.caiji.dto.SysRole;
import com.slw.caiji.dto.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

@Mapper
public interface SysRoleMapper extends BaseMapper<SysRole> {
    @Select("select * from sys_role")
    IPage<SysRole> listSysRole(Page<SysRole> page);
}
